﻿using System;
using CID.Execution.Support.Information;
using CID.Support.Exceptions;

namespace CID.Execution.Support.TemplateHandling
{
    [Serializable]
    public class TemplateHandlerNotFoundException : BaseException
    {
        public TemplateHandlerNotFoundException(TemplateTypeInfo templateType) 
            : base(String.Format("Unable to find a valid Template Handler for the Template Type {0} - {1}", templateType.Id, templateType.Name)) 
        { 
        }
    }
}
